//
//  MethodViewCell.m
//  安好
//
//  Created by lianchuang on 14/12/5.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "MethodViewCell.h"

@implementation MethodViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)doaccept:(UIButton *)sender {
    if (self.jiahaoDelegate&&[self.jiahaoDelegate respondsToSelector:@selector(sendAccept:)]) {
        [self.jiahaoDelegate sendAccept:self.index];
    }
}

- (IBAction)doreject:(UIButton *)sender {
    if (self.jiahaoDelegate&&[self.jiahaoDelegate respondsToSelector:@selector(sendReject:)]) {
        [self.jiahaoDelegate sendReject:self.index];
    }
}
@end
